<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('currency/index')}">货币列表</a></li>
			<li><a href="{:url('currency/add')}">添加货币</a></li>
		</ul>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>货币名称</th>
					<th>货币编码</th>
					<th>货币符号</th>
					<th>状态</th>
					<th width="130">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="lists" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.name}</td>
					<td>{$vo.code}</td>
					<td>{$vo.symbol}</td>
					<td>
						<switch name="vo.status">
							<case value="0"><span style="color:orange;">停用</span></case>
							<case value="1"><span style="color:green;">启用</span></case>
						</switch>
					</td>
					<td>
						<a href='{:url("currency/edit",array("id"=>$vo["id"]))}'>编辑</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>